﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MetroMVC.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewData["Message"] = "Welcome to ASP.NET MetroMVC!";
            return View();
        }

        public ActionResult About()
        {
            return View();
        }
        public ActionResult Contact()
        {
            ViewData["Map"] = @"<iframe width='425' height='350' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=el&amp;geocode=&amp;q=A.S.T.+%CE%91.%CE%95.,+%CE%98%CE%B5%CF%83%CF%83%CE%B1%CE%BB%CE%BF%CE%BD%CE%AF%CE%BA%CE%B7,+%CE%95%CE%BB%CE%BB%CE%AC%CE%B4%CE%B1&amp;aq=1&amp;oq=ast+&amp;sll=37.0625,-95.677068&amp;sspn=58.598104,135.263672&amp;t=h&amp;ie=UTF8&amp;hq=ast+%CE%B1-%CE%B5&amp;hnear=%CE%98%CE%B5%CF%83%CF%83%CE%B1%CE%BB%CE%BF%CE%BD%CE%AF%CE%BA%CE%B7,+%CE%95%CE%BB%CE%BB%CE%AC%CE%B4%CE%B1&amp;ll=40.428544,23.121878&amp;spn=0.523998,0.476999&amp;output=embed'></iframe><br /><small><a href='https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=el&amp;geocode=&amp;q=A.S.T.+%CE%91.%CE%95.,+%CE%98%CE%B5%CF%83%CF%83%CE%B1%CE%BB%CE%BF%CE%BD%CE%AF%CE%BA%CE%B7,+%CE%95%CE%BB%CE%BB%CE%AC%CE%B4%CE%B1&amp;aq=1&amp;oq=ast+&amp;sll=37.0625,-95.677068&amp;sspn=58.598104,135.263672&amp;t=h&amp;ie=UTF8&amp;hq=ast+%CE%B1-%CE%B5&amp;hnear=%CE%98%CE%B5%CF%83%CF%83%CE%B1%CE%BB%CE%BF%CE%BD%CE%AF%CE%BA%CE%B7,+%CE%95%CE%BB%CE%BB%CE%AC%CE%B4%CE%B1&amp;ll=40.428544,23.121878&amp;spn=0.523998,0.476999' style='color:#0000FF;text-align:left'>Προβολή μεγαλύτερου χάρτη</a></small>";
            return View();
        }
    }
}
